﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BillGuru
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void browserToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmStockViewer stockViewer = new FrmStockViewer();
            stockViewer.Show();
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void customerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmCustomer frmCustomer = new FrmCustomer();
            frmCustomer.Show();
        }

        private void companyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmCompany frmCompany = new FrmCompany();
            frmCompany.Show();
        }

        private void vendorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmVendor frmVendor = new FrmVendor();
            frmVendor.Show();
        }

        private void createToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmInvoice frmInvoice = new FrmInvoice();
            frmInvoice.Show();
            
        }

        private void historyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmInvoiceHistory frmInvoiceHistory = new FrmInvoiceHistory();
            frmInvoiceHistory.Show();
        }

        private void adjustToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmStockAdjust frmStockAdjust = new FrmStockAdjust();
            frmStockAdjust.Show();
        }

        private void otherToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmStockAdjustmentReason frmStockAdjustmentReason = new FrmStockAdjustmentReason();
            frmStockAdjustmentReason.Show();
        }

        private void addPaymentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmPayment frmPayment = new FrmPayment();
            frmPayment.Show();
        }

        private void paymentTypesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmPaymentType frmPaymentType = new FrmPaymentType();
            frmPaymentType.Show();
        }
    }
}
